﻿@model Propro.Models.RegisterModel
@{
    ViewBag.Title = "Register";
}

<h2 class="doodletitle2">Fill in this form to register.</h2>
<section id="loginForm">

    <div class="container">
        <section id="inhoud">
            @using (Html.BeginForm())
            {
                @Html.AntiForgeryToken()
                @Html.ValidationSummary()

                <form>
                    <div>
                        @Html.LabelFor(m => m.UserName)
                        @Html.TextBoxFor(m => m.UserName)
                    </div> 
                    <div>
                        @Html.LabelFor(m => m.FirstName)
                        @Html.TextBoxFor(m => m.FirstName)
                    </div>
                     <div>
                        @Html.LabelFor(m => m.LastName)
                        @Html.TextBoxFor(m => m.LastName)
                    </div>
                    <div>
                        @Html.LabelFor(m => m.Birthday)
                        @Html.TextBoxFor(m => m.Birthday, new { id = "datepicker"})
                    </div>
                     <div>
                        @Html.LabelFor(m => m.Mail)
                        @Html.TextBoxFor(m => m.Mail)
                    </div>
                    <div>
                        @Html.LabelFor(m => m.secretQ)
                        @Html.TextBoxFor(m => m.secretQ)
                    </div> 
                    <div>
                        @Html.LabelFor(m => m.secretA)
                        @Html.TextBoxFor(m => m.secretA)
                    </div> 
                    <div>
                        @Html.LabelFor(m => m.Password)
                        @Html.PasswordFor(m => m.Password)
                    </div>
                    <div>
                        @Html.LabelFor(m => m.ConfirmPassword)
                        @Html.PasswordFor(m => m.ConfirmPassword)
                    </div>
                    <div>
                        <input type="submit" value="Register" />
                    </div>
                    <br />
                </form>
               
            }
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
        </section>

    </div>

</section>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
    <script>
        $('#datepicker').datepicker({
        showOn: "both",
        buttonImage: "../../Images/calendar.png",
        buttonImageOnly: "true"
        });
    </script>
}
